/**
  ******************************************************************************
  * @file    Task.h
  * @author  Qilong Huang
  * @version V0.0.1
  * @date    04-03-2020 
  * @brief   This file contains the declarations and definitions for the task function  
  *			 for the OS. 	 
  *          
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; KION(SZ) R&D Center
  *
  * Licensed under KION, (the "License");
  *
  ******************************************************************************
  */

#ifndef __TASK_H__
#define __TASK_H__
/* Includes ------------------------------------------------------------------*/
#include "cmsis_os.h"
// ************************* << DEFINES  >> *******************************


// Task scheduling intervals in OS_TICK increments
// TIMER_TICK is defined in milliseconds - must match RTX configuration in RTX_Config.c file!



// Index number for each task


#define DISPLAY_TASK_STACK_LENGTH                                     800
#define CAN_TASK_STACK_LENGTH                                         400
#define CAN_J1939_TASK_STACK_LENGTH                                   400


void Fault_Input_Init(void);
void RTC_Configuration(void);
void LCD_init(void);
void SPI_EE_Init(void); 
void AnalogInputs_Init(void);
void BDI_init(void);
void load_parameters_from_ee(void);
void create_tasks(void) ;

#endif

